package com.kun.server.impl;

import java.util.Date;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.kun.dao.RegistDao;
import com.kun.entity.CustomerEntity;
import com.kun.server.RegistServer;
@Service("RegistServerImpl")
public class RegistServerImpl implements RegistServer {
	
	@Resource(name="RegistDaoImpl")
	private RegistDao registDao;

	public String regist(CustomerEntity customerEntity) {
		customerEntity.setCustomerRegDate(new Date());
		return registDao.regist(customerEntity);
	}

}
